//
//  LotteryWheelView.h
//  MSDemo
//
//  Created by ms on 2024/10/30.
//

#import "MSView.h"

NS_ASSUME_NONNULL_BEGIN

/** 抽奖轮盘--N等分圆 */
@interface LotteryWheelView : MSView

/** 等分数量 */
@property (nonatomic, assign) NSInteger numberOfDivisions;
/** 字典数组，每个字典包含标题和图片名 {@"title":@"标题",@" image":@"图片"} */
@property (nonatomic, strong) NSArray<NSDictionary *> *items;
/** 等分线颜色，默认#F3AC44 */
@property (nonatomic, strong) UIColor *divisionsLineColor;
/** 背景色，默认[#FEE08C,#FEF2CD] */
@property (nonatomic, strong) NSArray<UIColor *> *bgColors;

/** 动画开始 */
- (void)ms_startAnimaition;
/** 开始转动动画 */
-(void)ms_startAnimaition:(NSInteger)targetSection complete:(void (^)(void))complete;

@end

NS_ASSUME_NONNULL_END
